package com.bussiness;

import java.util.List;
import java.util.Map;

import com.bussiness.domain.Poi;
import com.bussiness.domain.PoiTemplate;
import com.bussiness.domain.PoiTemplate.Type;

/**
 * @author dninkovi
 *
 */
public interface PoiInterface {
	/**
	 * @param values
	 * @return
	 */
	public Long createObject(Poi poi);
	/**
	 * @param values
	 * @return
	 */
	public boolean readObject(Map<String,String> values);
	/**
	 * @param values
	 * @return
	 */
	public boolean deleteObject(Map<String,String> values);
	/**
	 * @param values
	 * @return
	 */
	public boolean updateObject(Map<String,String> values);
	
	/**
	 * @param name
	 * @return
	 */
	public Long createPoiTemplate(Map<String, Type > poiMap ,String name);
	
	/**
	 * @param values
	 * @return
	 */
	public PoiTemplate readPoiTemplate(Long id);
	/**
	 * @return
	 */
	public List<PoiTemplate> readAllPoiTemplates();
}
